package com.ctgu.rabbitmq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctgu.rabbitmq.entity.OrdersEntity;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author Alex2
* @description 针对表【t_orders】的数据库操作Mapper
* @createDate 2025-03-07 15:02:03
* @Entity com.ctgu.demo6.entity.OrdersEntity
*/
public interface OrdersMapper extends BaseMapper<OrdersEntity> {

    List<OrdersEntity> findUnpaidOrdersBefore(@Param("cutoffTime")LocalDateTime cutoffTime);

    OrdersEntity selectByName(String name);
}




